package com.sky.service;

import com.sky.dto.*;
import com.sky.entity.Orders;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;
import org.springframework.stereotype.Service;


public interface OrderService {
    OrderSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO);

    PageResult selectPage(int page, int pageSize, Integer status);

    OrderVO selectOD(Long id);



    void repetiton(Long id);

    void pay(OrdersPaymentDTO ordersPaymentDTO);

    void cancel(Long id);

    void reminder(Long id);

     PageResult selectAPage(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO selectStatistics();

    OrderVO selectDetail(Long id);

    void confirm(Long id);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    void cancelA(OrdersCancelDTO ordersCancelDTO);

    void complete(Long id);

    void delivery(Long id);
}
